package edu.scu.declaresys.service;

import edu.scu.declaresys.service.impl.AreaServiceImpl;
import edu.scu.declaresys.service.impl.MsgClassServiceImpl;
import edu.scu.declaresys.service.impl.MsgServiceImpl;
import edu.scu.declaresys.service.impl.NewsClassServiceImpl;
import edu.scu.declaresys.service.impl.NewsServiceImpl;
import edu.scu.declaresys.service.impl.ProjectClassServiceImpl;
import edu.scu.declaresys.service.impl.ProjectServiceImpl;
import edu.scu.declaresys.service.impl.UserServiceImpl;
import edu.scu.declaresys.service.impl.UserValidateServiceImpl;
import edu.scu.declaresys.service.intr.IAreaService;
import edu.scu.declaresys.service.intr.IMsgClassService;
import edu.scu.declaresys.service.intr.IMsgService;
import edu.scu.declaresys.service.intr.INewsClassService;
import edu.scu.declaresys.service.intr.INewsService;
import edu.scu.declaresys.service.intr.IProjectClassService;
import edu.scu.declaresys.service.intr.IProjectService;
import edu.scu.declaresys.service.intr.IUserService;
import edu.scu.declaresys.service.intr.IUserValidateService;

/**
 * 
 * @author: zt
 * @since : 2013-7-5
 */
public class ServiceFactory
{
	public static IUserValidateService createUserValidateService()
	{
		return new UserValidateServiceImpl();
	}

	public static INewsService createNewsService()
	{
		return new NewsServiceImpl();
	}
	
	public static IAreaService createAreaService()
	{
		return new AreaServiceImpl();
	}
	
	public static IProjectService createProjectService()
	{
		return new ProjectServiceImpl();
	}

	public static IProjectClassService createProjectClassService()
	{
		return new ProjectClassServiceImpl();
	}

	public static INewsClassService createNewsClassService()
	{
		return new NewsClassServiceImpl();
	}
	
	public static IMsgClassService createMsgClassService()
	{
		return new MsgClassServiceImpl();
	}

	public static IUserService createUserService()
	{
		return new UserServiceImpl();
	}

	public static IMsgService createMsgService()
	{
		return new MsgServiceImpl();
	}
}
